﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.Model;

namespace AspNetCs.IDAL
{
    /// <summary>
    /// 积分接口
    /// </summary>
   public  interface IIntegral
    {
       /// <summary>
       /// 添加积分
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       int Add(Integral_Model model);
       /// <summary>
       /// 扣除积分
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       int subtract(Integral_Model model);
       /// <summary>
       /// 删除积分记录
       /// </summary>
       /// <param name="filter"></param>
       /// <returns></returns>
       int del(string filter);


    }
}
